package cn.shop.cloud.mapper;


import cn.shop.cloud.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @program: xiangmu
 * @ClassName UserMapper
 * @description: 当年用的是xml，今天用的是注解
 * @author: 李尧坤
 * @create: 2024−12-14 09:29
 * @Version 1.0
 **/
@Mapper
public interface UserMapper {

    @Select("select * from t_user where id=#{id}")
    public User selectByPrimaryKey(Long id);

}

